﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using operacion;

namespace modulo
{
    public class modulo : metodo
    {
        public int operacion(int a, int b)
        {
            try
            {
                return a % b;
            }
            catch (DivideByZeroException exp)
            {
                throw new InvalidOperationException("MODULO POR CERO");
            }
        }
    }
}
